/**
 * Copyright (c)  HeiFeiDeFengZheng.Co.Ltd. All rights reserved.
 **/
package com.hongfu.learn;


import lombok.Data;

import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;

/**
 * 功能描述：
 *
 * @author huifeidefengzheng
 * @since 2023-11-13
 *
 **/
@Data
public class Main {
    public static void main(String[] args) {
        System.setOut(new PrintStream(new OutputStream() {
            @Override
            public void write(int b) throws IOException {

            }

        }));

        sayhello();
    }

    private static void sayhello() {
        System.out.println("hello sout");
    }
}
